package cn.tedu.pet.passport.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

import java.time.LocalDateTime;
@Data
@Accessors(chain = true)
@TableName("ams_admin")
public class Admin implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String username;
    private String password;
    private String nickname;
    private String salary;
    private String bankCard;
    private String post;
    private String avatar;
    private String phone;
    private String email;
    private String description;

    private Integer loginCount;

    private Integer enable;


    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;
}
